<script setup lang="ts">
import { ref } from 'vue';
import type { Person } from './types/add';
import { add, cut } from './add';

const person = ref<Person>({
  name: '张三',
  age: 18,
  height: 180
})

add(10, 20)
cut(100, 200)

</script>

<template>
  <div>
    <div>{{ person }}</div>
    <input type="text" ref="inpRef">
  </div>
</template>

<style scoped></style>
